package org.example.seata.bs.api.dto.order;

import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @author hzq
 * @date 2021/11/17 15:23
 */
@Data
public class OrderDto {

    // 收货地址

    // 优惠券

    // ...

    @Valid
    @NotEmpty(message = "订单商品详情不能为空")
    private List<OrderInfoDto> orderInfoDtoList;
}


